package com.hegongda.okcmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hegongda.common.utils.PageUtils;
import com.hegongda.okcmall.product.entity.SpuInfoEntity;
import com.hegongda.okcmall.product.vo.Skus;

import java.util.List;
import java.util.Map;

/**
 * spu信息
 *
 * @author Liuweidong
 * @email Liuweidong@gmail.com
 * @date 2021-01-31 17:57:14
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(Long brandId, Long catalogId, Long id, List<Skus> skus);

    PageUtils querySpuByCondition(Map<String, Object> params);

    void up(Long spuId);
}

